<template>
  <div class="vc-page">
    <div class="vc-page__body" :class="bodyClass">
      <slot></slot>
    </div>
  </div>
</template>

<script>
  /**
   * 属性：
   * -- bodyClass：body的class
   */
  export default {
    name: 'VcPage',
    props: {
      bodyClass: String
    }
  }
</script>

<style lang="scss">
.vc-page {
  min-height: 100%;
  background: #FFF;
  box-shadow: 0 0px 2px rgba(0,0,0,0.05);
  border-radius: 3px;
  .vc-page__body {
    padding: 15px;
    box-sizing: border-box;
  }
}
</style>